import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        MyHeap heap = new MyHeap();
        int[] arr = {26,16,50,30,3};
        heap.init(arr);
        heap.creatHeap();
        System.out.println(Arrays.toString(heap.elem));
    }
}
